<!-- linkbreaks added to give space between footer and content -->
<br /><br />
<?php
global $CONFIGURED, $CONFIG_PARMS;
if (!isset($without_close)) print "</div> <!-- closing div id=\"content\" -->\n";
print "<div id=\"footer\" class=\"$TEXT_DIRECTION\">";
	print_contact_links();
	print "\n\t<br /><div class=\"center\" style=\"width:99%;\">";
		print_help_link("preview_help", "qm");
		print "<a href=\"$SCRIPT_NAME?view=preview&amp;".get_query_string()."\">".$gm_lang["print_preview"]."</a>";
		if ($SHOW_STATS) print_execution_stats();
		if ($buildindex) print " ".$gm_lang["build_error"]."  <a href=\"editgedcoms.php\">".$gm_lang["rebuild_indexes"]."</a>\n";
		if($CONFIGURED) {
			if (change_present() && (userCanAccept(getUserName()))) {
				print "<br />".$gm_lang["changes_exist"]." <a href=\"#\" onclick=\"window.open('edit_changes.php','','width=800,height=600,resizable=1,scrollbars=1'); return false;\">".
				$gm_lang["accept_changes"]."</a>\n";
			}
		}
		print "<br />Running <a href=\"http://www.genmod.net\" target=\"_blank\">Genmod";
		if (count($CONFIG_PARMS) >1) print " Enterprise";
		print "</a> Version $VERSION $VERSION_RELEASE";
		print "</div>";
print "</div> <!-- close div id=\"footer\" -->\n";
?>
